package cn.wolfcode.luowowo.hotel.service;

import cn.wolfcode.luowowo.hotel.domain.HotelTheme;
import cn.wolfcode.luowowo.hotel.mapper.HotelThemeMapper;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
@Service
public class HotelThemeServiceImpl implements IHotelThemeService {
    @Autowired
    private HotelThemeMapper hotelThemeMapper;
    public List<HotelTheme> list() {
        return hotelThemeMapper.selectAll();
    }

    public List<HotelTheme> queryByDestId(Long destId) {
        return hotelThemeMapper.selectByDestId(destId);
    }
}